home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 701-725 / 707 / rayshade / rs40ami.zoo / config.h.IEEE < prev    next >
Text File  |  1992-05-12  |  6KB  |  205 lines

  1. /* config.h
  2.  * This file was produced by running the config.h.SH script, which
  3.  * gets its values from config.sh, which is generally produced by
  4.  * running Configure.
  5.  *
  6.  * Feel free to modify any of this as the need arises.  Note, however,
  7.  * that running config.h.SH again will wipe out any changes you've made.
  8.  * For a more permanent change edit config.sh and rerun config.h.SH.
  9.  */
  10.  
  11.  
  12. /* EUNICE:
  13.  *    This symbol, if defined, indicates that the program is being compiled
  14.  *    under the EUNICE package under VMS.  The program will need to handle
  15.  *    things like files that don't go away the first time you unlink them,
  16.  *    due to version numbering.  It will also need to compensate for lack
  17.  *    of a respectable link() command.
  18.  */
  19. /* VMS:
  20.  *    This symbol, if defined, indicates that the program is running under
  21.  *    VMS.  It is currently only set in conjunction with the EUNICE symbol.
  22.  */
  23. /* XENIX:
  24.  *    This symbol, if defined, indicates thet the program is running under
  25.  *    Xenix (at least 3.0 ?).
  26.  */
  27. /* BSD:
  28.  *    This symbol, if defined, indicates that the program is running under
  29.  *    a BSD system.
  30.  */
  31. /*#undef EUNICE        /**/
  32. /*#undef VMS        /**/
  33. /*#undef XENIX        /**/
  34. #define BSD        /**/
  35.  
  36. #ifdef AMIGA
  37. #ifdef LATTICE_50
  38. #include <mieeedoub.h>
  39. #define MIEEE
  40. #endif
  41. #endif
  42.  
  43. /* CPPSTDIN:
  44.  *    This symbol contains the first part of the string which will invoke
  45.  *    the C preprocessor on the standard input and produce to standard
  46.  *    output.     Typical value of "cc -E" or "/lib/cpp".
  47.  */
  48. /* CPPMINUS:
  49.  *    This symbol contains the second part of the string which will invoke
  50.  *    the C preprocessor on the standard input and produce to standard
  51.  *    output.  This symbol will have the value "-" if CPPSTDIN needs a minus
  52.  *    to specify standard input, otherwise the value is "".
  53.  */
  54. #define CPPSTDIN "/usr/lib/cpp"
  55. #define CPPMINUS ""
  56.  
  57. /* bzero:
  58.  *    This symbol is maped to memset if the  bzero() routine is not
  59.  *    available to set memory to 0.
  60.  */
  61. /*#undef    bzero(s,l)    memset((s),0,(l))    ;    /* mapped to memset */
  62. #define    bzero(s,l)    memset((s),0,(l))    ;    /* mapped to memset */
  63.  
  64.  
  65. /* CBRT:
  66.  *    This symbol, if defined, indicates that the cbrt() (cube root)
  67.  *    function is available.
  68.  */
  69. /*#define    CBRT        */
  70.  
  71. /* index:
  72.  *    This preprocessor symbol is defined, along with rindex, if the system
  73.  *    uses the strchr and strrchr routines instead.
  74.  */
  75. /* rindex:
  76.  *    This preprocessor symbol is defined, along with index, if the system
  77.  *    uses the strchr and strrchr routines instead.
  78.  */
  79. #define    index strchr    /* cultural */
  80. #define    rindex strrchr    /*  differences? */
  81.  
  82. /* MEMSET:
  83.  *    This symbol, if defined, indicates that the memset routine is available
  84.  *    to set blocks of memory. You should always use bzero() instead of
  85.  *    memset() because bzero is remaped to memset if necessary. This means
  86.  *    that a memset() routine must be provided in case MEMSET is not defined
  87.  *    and no bzero() is found.
  88.  */
  89. #define    MEMSET        /**/
  90.  
  91. /* POPEN:
  92.  *    This symbol, if defined, indicates that the popen routine is
  93.  *    available to open a pipe from a process.
  94.  */
  95. /*#define POPEN        */
  96.  
  97. /* RUSAGE:
  98.  *    This symbol, if defined, indicates that the getrusage() routine exists.
  99.  *    Inclusion of <sys/resource.h> and <sys/time.h> may be necessary.
  100.  */
  101. /*#define    RUSAGE        */
  102.  
  103. /* TIMES:
  104.  *    This symbol, if defined, indicates that the times() routine exists.
  105.  *    Note that this became obsolete on some systems (SUNOS), which now
  106.  * use getrusage().
  107.  */
  108. /* CLOCKTYPE:
  109.  *    This symbol holds the type returned by times(). It can be long,
  110.  *    or clock_t on BSD sites (in which case <sys/types.h> should be
  111.  *    included). Moreover, the Clock_t symbol is defined in common.h
  112.  *    and should be used for easy clean reference.
  113.  */
  114. /* #define TIMES */        /**/
  115. #define CLOCKTYPE long        /**/
  116.  
  117. /* EXTERN_CPUTIME:
  118.  *      This  symbol, if defined, indicates that the RSGetCPUTime() routine
  119.  *      is provided externally in a separate source file. You have to provide
  120.  *      a routine which is compatible with the one in libshade/misc.c */
  121.  
  122. #define EXTERN_CPUTIME
  123.  
  124. /* I_STRING:
  125.  *    This symbol, if defined, indicates to the C program that it should
  126.  *    include <string.h> (USG systems) instead of <strings.h> (BSD systems).
  127.  */
  128. #define I_STRING        /**/
  129.  
  130. /* I_SYSRESOURCE:
  131.  *    This symbol, if defined, indicates to the C program that it should
  132.  *    include <sys/resource.h>.
  133.  */
  134. /*#define    I_SYSRESOURCE        */
  135.  
  136. /* I_SYSTYPES:
  137.  *    This symbol, if defined, indicates to the C program that it should
  138.  *    include <sys/types.h>.
  139.  */
  140. /*#define    I_SYSTYPES        */
  141.  
  142. /* I_TIME:
  143.  *    This symbol, if defined, indicates to the C program that it should
  144.  *    include <time.h>.
  145.  */
  146. /* I_SYSTIME:
  147.  *    This symbol, if defined, indicates to the C program that it should
  148.  *    include <sys/time.h>.
  149.  */
  150. /* I_SYSTIMEKERNEL:
  151.  *    This symbol, if defined, indicates to the C program that it should
  152.  *    include <sys/time.h> with KERNEL defined.
  153.  */
  154. /*#undef I_TIME        */
  155. /*#define I_SYSTIME        */
  156. /*#undef I_SYSTIMEKERNEL        */
  157.  
  158. /* nrand:
  159.  *    This macro is to be used to generate uniformly distributed
  160.  *    random numbers over the range [0., 1.].
  161.  */
  162. /* seednrand:
  163.  *    This symbol defines the macro to be used in seeding the
  164.  *    random number generator (see nrand).
  165.  */
  166. #define nrand()        drand48()        /**/
  167. #define seednrand(x)    srand48(x)    /**/
  168.  
  169. /* VOIDFLAGS:
  170.  *    This symbol indicates how much support of the void type is given by this
  171.  *    compiler.  What various bits mean:
  172.  *
  173.  *        1 = supports declaration of void
  174.  *        2 = supports arrays of pointers to functions returning void
  175.  *        4 = supports comparisons between pointers to void functions and
  176.  *            addresses of void functions
  177.  *        8 = suports declaration of generic void pointers
  178.  *
  179.  *    The package designer should define VOIDUSED to indicate the requirements
  180.  *    of the package.  This can be done either by #defining VOIDUSED before
  181.  *    including config.h, or by defining defvoidused in Myinit.U.  If the
  182.  *    latter approach is taken, only those flags will be tested.  If the
  183.  *    level of void support necessary is not present, defines void to int.
  184.  */
  185. #ifndef VOIDUSED
  186. #define VOIDUSED 11
  187. #endif
  188. #define VOIDFLAGS 11
  189. #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
  190. #define void int        /* is void to be avoided? */
  191. #define M_VOID        /* Xenix strikes again */
  192. #endif
  193.  
  194. /* URT:
  195.  *     This symbol, if defined, indicates that the Utah Raster
  196.  *    Toolkit is being used.
  197.  */
  198. /*#define       URT          */
  199.  
  200. /* I_VARARGS:
  201.  *    This symbol, if defined, indicates to the C program that it should
  202.  *    include <stdlib.h>.
  203.  */
  204. #define I_STDLIB
  205.